<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>V-Viewer jS</title>
    <style>
        [v-cloak] {
            display: none;
        }
    </style>
    <link href="//unpkg.com/viewerjs@1.3.1/dist/viewer.css" rel="stylesheet">
    <script src="//unpkg.com/vue@2.5.22/dist/vue.js"></script>
    <script src="//unpkg.com/viewerjs@1.3.1/dist/viewer.js"></script>
    <script src="//unpkg.com/v-viewer@1.3.2/dist/v-viewer.js"></script>
</head>
<body>
<div id="UApp">
    <div class="ann-v-app-inner" v-cloak>
        <div v-viewer class="images clearfix">
            <template v-for="image in images">
                <img :src="image" class="image" :key="image">
            </template>
            <div>呵呵1</div>
            <div>呵呵2</div>
            <div>呵呵3</div>
        </div>
    </div>
</div>
</body>
<script>
    Vue.use(VueViewer.default)
    console.log(VueViewer.default)
    var vueApp = new Vue({
        el: '#UApp',
        // router,
        mounted(){
            console.log('mounted');
        },
        data() {
            return {
                images: [
                    'http://localhost:8081/static/images/gallery/photo-2.jpg',
                    'http://localhost:8081/static/images/gallery/photo-3.jpg'
                ]
            }
        },
        methods: {

        },
    });

    console.log('欢迎查看开发者Vue调试报告');
</script>
</html>
